| Total Complexity | 17 |
| Dependencies | 2 |
| Dependents | 0 |
| Total lines | 106 |
| Lines of code | 54 |
| Logical lines of code | 31 |
| Comment lines | 22 |
| Methods | 11 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| generateHeader() | 59 | 7 | 12 | |
| testValidJsonAndHeader() | 72 | 1 | 5 | |
| testInvalidJson() | 72 | 1 | 5 | |
| testValidJsonAndInvalidHeader() | 75 | 1 | 4 | |
| testMalformedHeader() | 75 | 1 | 4 | |
| testNoSignaturesWithExpectedScheme() | 74 | 1 | 4 | |
| testNoValidSignatureForPayload() | 74 | 1 | 4 | |
| testTimestampOutsideTolerance() | 73 | 1 | 4 | |
| testValidHeaderAndSignature() | 75 | 1 | 4 | |
| testHeaderContainsValidSignature() | 74 | 1 | 4 | |
| testTimestampOffButNoTolerance() | 74 | 1 | 4 |